-- GENERATED SPELL FOR [Nethergarde Miner] --


function spell0_5996(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5996', 30265, 1)
end

function Sorts_5996(pUnit, Event)
local choix_sorts_5996 = math.random(0, 0)
if choix_sorts_5996 == 0 then
pUnit:RegisterEvent('spell0_5996', 1, 1)
end
end

function mob5996_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5996', math.random(1500, 3000), 1)
end

function mob5996_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5996_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5996_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5996, 1, 'mob5996_Action')
RegisterUnitEvent(5996, 2, 'mob5996_Leave')
RegisterUnitEvent(5996, 3, 'mob5996_Kill')
RegisterUnitEvent(5996, 4, 'mob5996_Die')
